package cn.wolfcode.crud.mapper;

import cn.wolfcode.crud.domain.Role;
import cn.wolfcode.crud.qo.QuerObjcet;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    Role selectByPrimaryKey(Long id);

    List<Role> selectAll();

    int updateByPrimaryKey(Role record);


    List<Role> queryFormList(QuerObjcet qo);

    void save(@Param("id") Long id, @Param("ids") Long[] ids);

    void deleteRp(Long id);

    List<String> selectByemp(Long id);

}